import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
// 导入全局样式表
import './assets/css/global.css'
// 导入axios数据交互请求
import axios from 'axios'
//工具
import utils from './util/util'
// 引入vue-echarts
import ECharts from 'vue-echarts'
// import 'echarts/lib/chart/line'
import 'echarts/map/js/china'
import store from './store/index'




// 使用axios
Vue.prototype.$http = axios
Vue.config.productionTip = false
//axios携带cookie
axios.defaults.withCredentials=true;
Vue.prototype.utils = utils;
// 使用vue-echarts
Vue.component('v-chart', ECharts)
Vue.prototype.$store = store





new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
